<template>
    <div class="header-tip">
        <span class="label">{{ label }}</span>
        <span class="desc">{{ desc }}</span>
    </div>
</template>

<script>
export default {
    name: 'HeaderTip',
    props: {
        label: {
            type: String,
            default: '',
        },
        desc: {
            type: String,
            default: '',
        },
    },
    created() {
    },
}
</script>

<style scoped>
.header-tip {
    position: relative;
    height: 30px;
    width: 100%;
    text-align: left;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.header-tip:before {
    content: "";
    position: absolute;
    height: 40%;
    top: 30%;
    left: 0;
    width: 3px;
    background: #249cd3;
}

.label {
    font-size: 16px;
    font-weight: bold;
}

.desc {
    font-size: 12px;
    padding-left: 30px;
    color: #999999;
}
</style>

